﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="WUCFeedback.ascx.cs"
    Inherits="s2b.ControleDesenvolvimentoProjetos.UserControls.WUCFeedback" %>
<style type="text/css">
    .style1
    {
        height: 30px;
    }
</style>
<asp:UpdatePanel ID="uPnlFeedback" runat="server">
    <ContentTemplate>
          <div class="principal">
        <asp:Panel ID="pnlFeedback" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <table width="100%">
                <tr>
                    <td>
                        Data:
                    </td>
                    <td>
                        <asp:TextBox ID="txtData" runat="server"></asp:TextBox>
                        <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rfvData" runat="server" ControlToValidate="txtData"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                    <td>
                       
                          <asp:Panel ID="pnlFeedbacks" runat="server">
                        </asp:Panel>
                       
                    </td>
                </tr>
                <tr>
                    <td>
                        Entrada:
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlHoraEntrada" runat="server" 
                            onselectedindexchanged="ddlHoraEntrada_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rfvHoraEntrada" runat="server" ControlToValidate="ddlHoraEntrada"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Saída:
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlHoraSaida" runat="server" 
                            onselectedindexchanged="ddlHoraSaida_SelectedIndexChanged" style="height: 22px">
                        </asp:DropDownList>
                        <asp:Label ID="Label3" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rfvHoraSaida" runat="server" ControlToValidate="ddlHoraSaida"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Cliente:
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlCliente" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCliente_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:Label ID="Label4" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rfvCliente" runat="server" ControlToValidate="ddlCliente"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Projeto:
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlProjeto" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlProjeto_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:Label ID="Label5" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rfvProjeto" runat="server" ControlToValidate="ddlProjeto"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Tarefa:
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlTarefa" runat="server" AutoPostBack="True" 
                            onselectedindexchanged="ddlTarefa_SelectedIndexChanged">
                        </asp:DropDownList>
                        <asp:Label ID="Label6" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rfvTarefa" runat="server" ControlToValidate="ddlTarefa"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Concluido
                    </td>
                    <td class="style1">
                        <asp:TextBox ID="txtConcluido" runat="server"></asp:TextBox>
                        <asp:Label ID="Label7" runat="server" ForeColor="Red" Text="*"></asp:Label>
                        <asp:RequiredFieldValidator ID="rfvConcluido" runat="server" ControlToValidate="txtConcluido"
                            ForeColor="Red">Campo Obrigatório</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        Feedback:
                    </td>
                    <td>
                        <asp:CheckBox ID="ckbFeedback" runat="server" Text="Positivo" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:TextBox ID="txtFeedback" runat="server" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btnAdicionar" runat="server" Text="Salvar" OnClick="btnAdicionar_Click" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Button ID="btn" runat="server" Text="Salvar" OnClick="btn_Click" Visible="false" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:Label ID="lblMsg" runat="server"></asp:Label>
                    </td>
                </tr>
            </table>
        </asp:Panel>
  </div>
    </ContentTemplate>
</asp:UpdatePanel>

